package com.xlh.virtualization.po;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author cheer
 */
@ApiModel("调整分辨率参数")
@Data
public class ResolutionAdjustPO {

    @NotEmpty(message = "虚拟机Id数组不能为空")
    private List<Long> containerIds;

    @NotNull(message = "分辨率长度不能为空")
    private Double length;

    @NotNull(message = "分辨率宽度不能为空")
    private Double width;

    @NotNull(message = "全屏选项不能为空")
    private Boolean fullScreen;

    @NotNull(message = "任务Id不能为空")
    private Long contextId;
}
